home *** CD-ROM | disk | FTP | other *** search
- /* Generated by Interface Builder */
-
- // This class contains information on the unit generators in the patch.
- // It holds a list of instantiated unit generators, and a factory method
- // for unit generator instances.
- // This method is subclassed for the various types of unit generators.
-
- #import <objc/Object.h>
- #import <appkit/graphics.h>
- #import <appkit/NXImage.h>
- #import <stdio.h>
- #import <stdlib.h>
- #import <string.h>
- #import "Instrum.h"
-
- extern id Inst;
-
- @interface UnitGen:Object
- {
- NXPoint location;
- NXSize size;
- NXPoint center;
- NXRect rectangle;
- char type[10];
- id paramList;
- int index; // index in ugenList
- BOOL written;
- char name[10]; // code cmix function name
- }
-
- - show;
- - (NXPoint *)getLocation;
- - (char *)getType;
- - (NXPoint *)getCenter;
- - (NXSize *)getSize;
- - (NXRect *)getRect;
- - move:(NXPoint *)newloc;
- - setIndex:(unsigned int)i;
- - (unsigned int)getIndex;
- - newWrite;
- - (BOOL)getWritten;
- -getParamList;
-
- @end
-